package com.sanery.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sanery.dao.UserDao;
import com.sanery.entity.User;
import com.sanery.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao dao = null;

	@Override
	public User getUser(String username, String password) {
		User user = dao.getUser(username, password);
		return user;
	}

}
